package com.dineroquegastar.urule.constant;

import lombok.Getter;

/**
 * 错误码定义
 *
 * @author liuhai
 * @date 2021/3/28 3:51 PM
 */
@Getter
public enum RespEnum {

    SUCCESS("00000", "SUCCESSFUL"),
    PARAM_ERR("04001", "PARAM_ERR"),
    FAIL("99998", "FAIL"),
    SYS_ERR("99999", "SYS_ERR");

    private String msg;
    private String code;

    private RespEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
